// global transition css

/* fade */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* fade-transform-left */
.fade-transform-left-enter-active,
.fade-transform-left-leave-active {
  transition: all 2s;
}

.fade-transform-left-enter-from,
.fade-transform-left-leave-to {
  opacity: 0;
  transform: translateX(-300px);
}

/* fade-transform-right */
.fade-transform-right-enter-active,
.fade-transform-right-leave-active {
  transition: all 2s;
}

.fade-transform-right-enter-from,
.fade-transform-right-leave-to {
  opacity: 0;
  transform: translateX(300px);
}

/* fade-transform-top */
.fade-transform-top-enter-active,
.fade-transform-top-leave-active {
  transition: all 2s;
}

.fade-transform-top-enter-from,
.fade-transform-top-leave-to {
  opacity: 0;
  transform: translateY(-300px);
}

/* fade-transform-bottom */
.fade-transform-bottom-enter-active,
.fade-transform-bottom-leave-active {
  transition: all 2s;
}

.fade-transform-bottom-enter-from,
.fade-transform-bottom-leave-to {
  opacity: 0;
  transform: translateY(300px);
}
